import type { RouteRecordRaw } from 'vue-router';
import RouterView from '@/layout/routerView/index.vue';
import { t } from '@/framework/hooks/useI18n';

const moduleName = 'home';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/home',
    name: 'home',
    component: () => import('../../pages/home/index.vue'),
    meta: {
      title: '首页',
      icon: 'icon-shouye',
    },
  },
  {
    path: '/sso',
    name: 'sso',
    component: () => import('../../pages/sso/sso.vue'),
    meta: {
      title: '单点登录',
      hideInMenu: true,
    },
  },
  {
    path: '/loading',
    name: 'loading',
    component: () => import(/* webpackChunkName: "loading" */ '@/pages/loading/index.vue'),
    meta: {
      title: '跳转中...',
      hideInMenu: true,
    },
  },
];
export default routes;
